﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Gqq.Csharpindepth.Chapter1
{
    public class ProductAndStore
    {
        public int StorageId { get; set; }
        public int ProductId { get; set; }
        public string StoreName { get; set; }
        public string ProductName { get; set; }
        public override string ToString()
        {
            //return base.ToString();
            return string.Format("StorageId:{0} ProductId:{1} StoreName:{2} ProductName:{3}", StorageId, ProductId,
                                 StoreName, ProductName);
        }
    }
}
